/**
 * Created by John on 2016/6/20.
 */
db.addUser({
    user: "testUser",
    pwd: "test",
    roles: ['readWrite', 'dbAdmin']
});

db.addUser({
    user: "testUser",
    userSource: "test",
    roles: ['read'],
    otherDBRoles: {testDB2: ['readWrite']}
});

